import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import { Icon } from 'vant'

// 基础样式
import 'vant/lib/index.css'
import '@/assets/style/main.less'

// vant 基础样式
import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import 'vant/es/image-preview/style'

const app = createApp(App).use(createPinia()).use(router).use(Icon)

app.mount('#app')
